/*
 * PorePressureDiffusionKernel.h
 *
 *  Created on: 2017年7月24日
 *      Author: liuxiao
 */



#pragma once

//#include "MUltiPhasePyrolysisMaterial.h"//获得热解热参数
//#include "ComputeRhoMaterial.h"//获得热解率参数

#include "Kernel.h"
#include "Material.h"
#include "../../include/materials/PyrolysisGasPropertyMaterial.h"

class PorePressureDiffusionKernel : public Kernel
{
public:

	PorePressureDiffusionKernel(const InputParameters & parameters);

protected:
  virtual Real computeQpResidual();
  virtual Real computeQpJacobian();

private:
  const MaterialProperty<Real> & _permeability;
  const MaterialProperty<Real> & _viscosity;
  const MaterialProperty<Real> & _R;
  const VariableValue & _temperature;
//  const MaterialProperty<Real> & _P;
};

template<>
InputParameters validParams<PorePressureDiffusionKernel>();

